home *** CD-ROM | disk | FTP | other *** search
/ Amiga Games Extra 1996 September / Amiga Games Extra CD-ROM 9-1996.iso / userbox / publicdomain / vim-4.2 / src / makefile.bcc < prev    next >
Makefile  |  1996-05-29  |  4KB  |  233 lines

  1. #
  2. # Makefile for Borland C++ 2.0, 3.1 or 4.0
  3. # Can also be used for Turbo C++
  4. #
  5. # The options are at the end of this file
  6. #
  7.  
  8. .AUTODEPEND
  9.  
  10. #        *Translator Definitions*
  11. #   use tcc for Turbo C++
  12. CC = bcc +VIM.CFG
  13. #CC = tcc +VIM.CFG
  14. TASM = TASM
  15. TLIB = tlib
  16. TLINK = tlink
  17. #
  18. # Adjust the paths for your environment
  19. # use the first two if you don't have the spawno library
  20. #    then also remove the SPAWNO define further down and the line
  21. #    with spawnl.lib
  22. #
  23. #LIBPATH = C:\BC4\LIB
  24. #INCLUDEPATH = C:\BC4\INCLUDE
  25. LIBPATH = E:\BC4\LIB;C:\CC\SPAWN
  26. INCLUDEPATH = E:\BC4\INCLUDE;C:\CC\SPAWN
  27.  
  28.  
  29. #        *Implicit Rules*
  30. #
  31. # use -v for debugging
  32. #
  33. .c.obj:
  34.   $(CC) -c {$< }
  35. #  $(CC) -c -v {$< }
  36.  
  37. #        *List Macros*
  38.  
  39.  
  40. EXE_dependencies =  \
  41.  alloc.obj \
  42.  buffer.obj \
  43.  charset.obj \
  44.  cmdcmds.obj \
  45.  cmdline.obj \
  46.  csearch.obj \
  47.  digraph.obj \
  48.  edit.obj \
  49.  fileio.obj \
  50.  getchar.obj \
  51.  help.obj \
  52.  linefunc.obj \
  53.  main.obj \
  54.  mark.obj \
  55.  memfile.obj \
  56.  memline.obj \
  57.  message.obj \
  58.  misccmds.obj \
  59.  msdos.obj \
  60.  normal.obj \
  61.  ops.obj \
  62.  option.obj \
  63.  quickfix.obj \
  64.  regexp.obj \
  65.  regsub.obj \
  66.  screen.obj \
  67.  search.obj \
  68.  tables.obj \
  69.  tag.obj \
  70.  term.obj \
  71.  undo.obj \
  72.  window.obj \
  73.  version.obj
  74.  
  75. #        *Explicit Rules*
  76. #  add /v to TLINK for debugging
  77. vim.exe: vim.cfg $(EXE_dependencies)
  78.   $(CC) -c version.c
  79.   $(TLINK) /x/c/L$(LIBPATH) @&&|
  80. c0l.obj+
  81. alloc.obj+
  82. buffer.obj+
  83. charset.obj+
  84. cmdcmds.obj+
  85. cmdline.obj+
  86. csearch.obj+
  87. digraph.obj+
  88. edit.obj+
  89. fileio.obj+
  90. getchar.obj+
  91. help.obj+
  92. linefunc.obj+
  93. main.obj+
  94. mark.obj+
  95. memfile.obj+
  96. memline.obj+
  97. message.obj+
  98. misccmds.obj+
  99. msdos.obj+
  100. normal.obj+
  101. ops.obj+
  102. option.obj+
  103. quickfix.obj+
  104. regexp.obj+
  105. regsub.obj+
  106. screen.obj+
  107. search.obj+
  108. tables.obj+
  109. tag.obj+
  110. term.obj+
  111. undo.obj+
  112. window.obj+
  113. version.obj
  114. vim
  115.         # no map file
  116. fp87.lib+
  117. mathl.lib+
  118. spawnl.lib+
  119. cl.lib
  120. |
  121.  
  122.  
  123. # cleaning up
  124. clean:
  125.     -del *.obj
  126.     -del *.exe
  127.     -del cmdtab.h
  128.     -del *~
  129.     -del *.*~
  130.  
  131. #        *Individual File Dependencies*
  132. alloc.obj: alloc.c 
  133.  
  134. buffer.obj: buffer.c 
  135.  
  136. charset.obj: charset.c 
  137.  
  138. cmdcmds.obj: cmdcmds.c
  139.  
  140. cmdline.obj: cmdline.c cmdtab.h
  141.  
  142. cmdtab.h: cmdtab.tab mkcmdtab.exe
  143.     mkcmdtab cmdtab.tab cmdtab.h
  144.  
  145. mkcmdtab.exe: mkcmdtab.c
  146.     $(CC) $(CFLAGS) -ml -omkcmdtab mkcmdtab.c
  147.     -del mkcmdtab.obj
  148.  
  149. csearch.obj: csearch.c 
  150.  
  151. digraph.obj: digraph.c 
  152.  
  153. edit.obj: edit.c 
  154.  
  155. fileio.obj: fileio.c 
  156.  
  157. getchar.obj: getchar.c 
  158.  
  159. help.obj: help.c 
  160.  
  161. linefunc.obj: linefunc.c 
  162.  
  163. main.obj: main.c globals.h option.h
  164.  
  165. mark.obj: mark.c
  166.  
  167. memfile.obj: memfile.c 
  168.  
  169. memline.obj: memline.c 
  170.  
  171. message.obj: message.c 
  172.  
  173. misccmds.obj: misccmds.c 
  174.  
  175. msdos.obj: msdos.c 
  176.  
  177. normal.obj: normal.c ops.h
  178.  
  179. ops.obj: ops.c ops.h
  180.  
  181. option.obj: option.c 
  182.  
  183. quickfix.obj: quickfix.c 
  184.  
  185. regexp.obj: regexp.c 
  186.  
  187. regsub.obj: regsub.c 
  188.  
  189. screen.obj: screen.c 
  190.  
  191. search.obj: search.c 
  192.  
  193. tables.obj: tables.c
  194.  
  195. tag.obj: tag.c
  196.  
  197. term.obj: term.c term.h
  198.  
  199. undo.obj: undo.c 
  200.  
  201. window.obj: window.c 
  202.  
  203. version.obj: version.c 
  204.  
  205. #        *Compiler Configuration File*
  206. # The following compile options can be changed for better machines.
  207. #    replace -1- with -2 to produce code for a 80286 or higher
  208. #    replace -1- with -3 to produce code for a 80386 or higher
  209. #    add -v for source debugging
  210. vim.cfg: makefile
  211.   copy &&|
  212. -ml
  213. -1-
  214. -f-
  215. -C
  216. -N
  217. -O
  218. -Z
  219. -k-
  220. -d
  221. -h
  222. -vi-
  223. -H=VIM.SYM
  224. -w-par
  225. -weas
  226. -wpre
  227. -I$(INCLUDEPATH)
  228. -L$(LIBPATH)
  229. -DPC;MSDOS;SPAWNO
  230. | vim.cfg
  231.  
  232. ### See makefile.txt for a list of defines that can be included
  233.